package com.smedi.ismedi.inmail.core.port.adapter.service;

import com.smedi.ismedi.inmail.core.domain.aggregatemodel.announcement.CurrentUserRole;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 远程角色接口
 *
 * @author jiangqinxuan
 * @date 2021/07/27
 */
public interface AuthorityRoleManagementRemoteApiService {
    /**
     * 通过当前登录人id获取角色信息
     *
     * @param currentUserId 当前登录人id
     * @return CurrentUserRole
     */
    CurrentUserRole getCurrentUserRole(Long currentUserId);

    /**
     * 当前登录人是否有权限新增通知公告（临时接口）
     *
     * @return ResponseEntity<Boolean>
     */
    Boolean getAccessToIncrease();
}
